import Vue from 'vue'
import Router from 'vue-router'
import department from '../views/admin/department.vue'
import project from '../views/admin/project.vue'
import role from '../views/admin/role.vue'
import staff from '../views/admin/staff.vue'
import view from '../views/admin/view.vue'

Vue.use(Router)

export default new Router({
    // mode:'history',
    routes: [
        {
            path: '/epi/admin/department',
            name: 'department',
            component: department
        },
        {
            path: '/epi/admin/project',
            name: 'project',
            component: project
        },
        {
            path: '/epi/admin/role',
            name: 'role',
            component: role
        },
        {
            path: '/epi/admin/staff',
            name: 'staff',
            component: staff
        },
        {
            path: '/epi/admin/view',
            name: 'view',
            component: view
        }
    ]
})